package com.micro.mapper;

import com.micro.pojo.LoginUser;
import com.micro.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author zhu
* @description 针对表【user】的数据库操作Mapper
* @createDate 2024-05-10 16:07:46
* @Entity com.micro.pojo.User
*/
@Mapper
public interface UserMapper {

    int deleteByPrimaryKey(Long id);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    List<User> selectAll();

    User selectByUsername(String username);

    int insertUUID(User record);

}
